package com.red.usespringboot;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Controller {

    @Autowired
    private UserMapper userMapper;

    @GetMapping("/")
    public String test(){
        return "高玉";
    }
    @GetMapping("/name")
    public String name(){
        return "高玉";
    }
}
